﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="FamousRegion.aspx.cs" Inherits="App.FamousRegion_FamousRegion" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="~/UserControl/Top.ascx" TagPrefix="UC" TagName="top" %>
<%@ Register Src="~/UserControl/Footer.ascx" TagPrefix="UC" TagName="footer" %>
<%@ Register Src="~/UserControl/lunboPic.ascx" TagPrefix="UC" TagName="lb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>上善若水 --不言、无为、自强不息</title>
    <link type="text/css" href="../Styles/layout.css" rel="Stylesheet" />
    <link type="text/css" href="../Styles/theme1.css" rel="Stylesheet" />
    <link type="text/css" href="../Styles/style.css" rel="Stylesheet" />
    <script type="text/javascript" src="../Scripts/carouFredSel-6.2.1/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="../Scripts/carouFredSel-6.2.1/jquery.carouFredSel-6.2.1.js"></script>
    <script type="text/javascript" src="../Scripts/editor/kindeditor.js"></script>
    <style>
        .shell
        {
            background: no-repeat 4px 5px;
            border: 1px solid #aaa;
            width: 305px;
            padding: 3px 2px 2px 20px;
        }
        .shell2
        {
            background: no-repeat 4px 5px;
            border: 1px solid #aaa;
            width: 260px;
            padding: 3px 2px 2px 20px;
        }
        .view
        {
            margin: 10px auto;
            min-height: 300px;
            padding: 0 10px;
            width: 95%;
        }
        
        .view .detailT
        {
            color: rgb(0, 0, 0);
            font-size: 22px;
            font-weight: bold;
            margin: 20px auto 10px;
            text-align: center;
        }
        
        .view .data
        {
            border-bottom: 1px solid rgb(204, 204, 204);
            line-height: 17px;
            padding-bottom: 5px;
            text-align: center;
        }
        
        
        .view .content
        {
            color: rgb(0, 0, 0);
            font-size: 14px;
            line-height: 24px;
            margin-top: 0;
            padding-top: 10px;
            text-align: justify;
        }
        
        
        .view .content p
        {
            color: rgb(0, 0, 0);
            font-size: 14px;
            line-height: 24px;
        }
         #div7
        {
            height: 70px;
            overflow: hidden;
        }
    </style>
    <script>
        function scoll(id) {
            var box = document.getElementById(id);
            var can = true;
            box.innerHTML += box.innerHTML;
            box.onmouseover = function () { can = false };
            box.onmouseout = function () { can = true };
            new function () {
                var stop = box.scrollTop % 18 == 0 && !can;
                var t;
                if (!stop)
                    box.scrollTop == parseInt(box.scrollHeight / 2) ? box.scrollTop = 0 : box.scrollTop++;
                t = setTimeout(arguments.callee, box.scrollTop % 18 ? 10 : 1500);

            };
        }
        $(function () {

            $('#div1').carouFredSel({
                items: 7,
                direction: "up",
                scroll: {
                    items: 1,
                    easing: "elastic",
                    duration: 1000,
                    pauseOnHover: true
                }
            });
            $('#div2').carouFredSel({
                items: 7,
                direction: "up",
                scroll: {
                    items: 1,
                    easing: "elastic",
                    duration: 1000,
                    pauseOnHover: true
                }
            });

//            setTimeout(controlARSDiv, 5000);
        }
);
        var arsDiv;
        function controlARSDiv() {
            if (!$('#divAnnouncement_conent').is(":hidden")) {
                showSuggestionDiv();
            }
//            else if (!$('#divReward_content').is(":hidden")) {
//                showSuggestionDiv();
//            }
            else if (!$('#divSuggestion_content').is(":hidden")) {
                showAnnouncementDiv();
            }
            arsDiv = setTimeout(controlARSDiv, 5000);
        }
        function stoparsDiv() {
            clearTimeout(arsDiv);
        }
        function showAnnouncementDiv() {

            $('#divAnnouncement_conent').show();
            $('#AliAnnouncement').css("background", "")
            $('#AliAnnouncement').css("background", "none repeat scroll 0 0 #12B5B0");

//            $('#divReward_content').hide();
            $('#AliReward').css("background", "");
            $('#AliReward').css("background", "none repeat scroll 0 0 rgb(163, 200, 253)");

            $('#divSuggestion_content').hide();
            $('#AliSuggestion').css("background", "");
            $('#AliSuggestion').css("background", "none repeat scroll 0 0 rgb(163, 200, 253)");

        }

        function showRewardDiv() {

//            $('#divReward_content').show();
            $('#AliReward').css("background", "");
            $('#AliReward').css("background", "none repeat scroll 0 0 #12B5B0");

            $('#divAnnouncement_conent').hide();
            $('#AliAnnouncement').css("background", "");
            $('#AliAnnouncement').css("background", "none repeat scroll 0 0 rgb(163, 200, 253);");
            $('#divSuggestion_content').hide();
            $('#AliSuggestion').css("background", "");
            $('#AliSuggestion').css("background", "none repeat scroll 0 0 rgb(163, 200, 253)");
        }

        function showSuggestionDiv() {

            $('#divSuggestion_content').show();
            $('#AliSuggestion').css("background", "");
            $('#AliSuggestion').css("background", "none repeat scroll 0 0 #12B5B0");
            $('#divAnnouncement_conent').hide();
            $('#AliAnnouncement').css("background", "");
            $('#AliAnnouncement').css("background", "none repeat scroll 0 0 rgb(163, 200, 253);");
//            $('#divReward_content').hide();
            $('#AliReward').css("background", "");
            $('#AliReward').css("background", "none repeat scroll 0 0 rgb(163, 200, 253);");
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div class="bjtu">
    </div>
    <!--背景图-->
    <div id="page">
        <div class="main">
            <!--导航-->
            <!--内容-->
            <div class="box">
                <!--cc-->
                <div class="cc">
                    <span class="ctl"></span><span class="ctr"></span>
                    <!--头部-->
                    <UC:top ID="top" runat="server" />
                    <!--categoryleft-->
                    <div class="categoryleft">
                        <UC:lb  ID="lunbo" runat="server"/>
                    </div>
                    <!--categoryleft-->
                    <!--categoryright-->
                    <div class="categoryright">
                        <div id="divRightWelcome">
                            <script type="text/javascript" src="../Player/ckplayer.js" charset="utf-8"></script>
                            <script type="text/javascript">
                                var flashvars = { f: '../Player/MyDream.flv', c: 0, b: 1, p: 0, e: 0 };
                                var params = { bgcolor: '#FFF', allowFullScreen: true, allowScriptAccess: 'always' };
                                CKobject.embedSWF('../Player/ckplayer.swf', 'divRightWelcome', 'ckplayer_a1', '290', '230', flashvars, params);
                                /* CKobject.embedSWF(播放器路径,容器id,播放器id/name,播放器宽,播放器高,flashvars的值,其它定义也可省略); 下面三行是调用html5播放器用到的 */
                                var video = ['../Player/MyDream.flv-&gt;flv-application/octet-stream'];
                                var support = ['iPad', 'iPhone', 'ios', 'android+false', 'msie10+false', 'webKit'];
                                CKobject.embedHTML5('video', 'ckplayer_a1', 600, 400, video, flashvars, support); 
                            </script>
                        </div>
                        <!--categoryright-->
                        <!--版权-->
                        <!--版权-->
                        <span class="cbl"></span><span class="cbr"></span>
                    </div>
                    <%-- 全月专区内容 --%>
                    <div style="width: 98%; margin-left: 15px; margin-top: 15px;float:left;">
                        <div style="background: url('../images/global/bg1px.png') repeat-x scroll 0 -33px rgba(0, 0, 0, 0);
                            display: block; height: 34px;">
                            <div style="display: inline; border: 1px;">
                                <a href="javascript:void(0);" target="_self"
                                    id="lblFamousRegion" runat="server">全月介绍</a></div>
                        </div>
                        <%--全月介绍 --%>
                        <div style="width: 15%; float: left;">
                            <img id="fUserImg" runat="server" src="http://tcmjy.org/global/resource/image/20130711135717_65093.jpg"
                                alt="头像" title="头像" />
                            <p style="margin-top: 10px;">
                                <span>姓名：</span><asp:Label runat="server" ID="lbl_fUserName" Text="徐全月"></asp:Label></p>
                            <p style="margin-top: 10px;">
                                <span>籍贯：</span><asp:Label runat="server" ID="lbl_fUserAddress" Text="山东无棣"></asp:Label></p>
                        </div>
                        <div style="width: 85%; float: left">
                            <div style="height: 160px; overflow: hidden;" id="div_resume" runat="server">
                            </div>
                            <a href="#" runat="server" id="linkPerson">更多详情请点击</a>
                        </div>
                    </div>
                    <%-- 全月动态--%>
                    <div style="width: 98%; margin-left: 15px; margin-top: 15px;float:left;">
                        <div style="background: url('../images/global/bg1px.png') repeat-x scroll 0 -33px rgba(0, 0, 0, 0);
                            display: block; height: 34px;">
                            <div style="display: inline; border: 1px;">
                                <a href="<%= BLL.Common.Contexts.AppPath %>/FamousRegion/FamousRegion.aspx" target="_self"
                                    runat="server">全月动态</a></div>
                            <div style="display: inline; float: right; margin-right: 10px; margin-top: -7px;">
                                <a runat="server" id="linkD" href="" target="_self">
                                    更多&gt;&gt;</a>
                            </div>
                            
                        </div>
                        <div class="shell" style="min-height: 55px;width:97%;">
                            <div class="caroufredsel_wrapper" style="display: block; text-align: start; float: none; position: relative; top: auto; right: auto; bottom: auto; left: auto; z-index: auto;  height: 215px; margin: 0px; overflow: hidden; min-height:215px;">
                                <div id="div1" style="text-align: left; float: none; position: absolute; top: 0px; right: auto; bottom: auto; left: 0px; margin: 0px; width:100% ">
                                <asp:Repeater ID="rptRegionDynamic" runat="server" OnItemDataBound="rptRegionDynamic_ItemDataBound">
                                    <ItemTemplate>
                                        <a id="lb_RegionDynamic" runat="server" target="_self" style="display:block;line-height:30px;"></a>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                        <asp:Label ID="lblNoRecord" runat="server" Text="暂无记录!" Visible="false"></asp:Label>
                                    </FooterTemplate>
                                </asp:Repeater>
                                </div>
                            </div>
                            </div>
                    </div>
                    <div style="width: 98%; display: table-caption; margin-left: 15px; margin-top: 15px;float:left;">
                        <div style="background: url('../images/global/bg1px.png') repeat-x scroll 0 -33px rgba(0, 0, 0, 0);
                            display: block; height: 34px;">
                            <div style="display: inline; border: 1px;">
                                <a href="<%= BLL.Common.Contexts.AppPath %>/FamousRegion/FamousRegion.aspx" target="_self"
                                    runat="server">全月事迹</a></div>
                            <div style="display: inline; float: right; margin-right: 10px; margin-top: -7px;">
                                <a href="<%= BLL.Common.Contexts.AppPath %>/FamousRegion/FamousRegion.aspx" target="_self" runat="server" id="linkN">
                                    更多&gt;&gt;</a>
                            </div>
                            
                        </div>
                        <div class="shell" style="min-height: 55px;width:97%;">
                                                 <div class="caroufredsel_wrapper" style="display: block; text-align: start; float: none; position: relative; top: auto; right: auto; bottom: auto; left: auto; z-index: auto;  height: 215px; margin: 0px; overflow: hidden; min-height:215px;">
                                <div id="div2" style="text-align: left; float: none; position: absolute; top: 0px; right: auto; bottom: auto; left: 0px; margin: 0px; width:100% ">
                                                    <asp:Repeater ID="rptRegionNarrative" runat="server" OnItemDataBound="rptRegionNarrative_ItemDataBound">
                                                        <ItemTemplate>
                                                            <a id="lb_RegionNarrative" runat="server" target="_self" style="display:block; line-height:30px;"></a>
                                                        </ItemTemplate>
                                                        <FooterTemplate>
                                                            <asp:Label ID="lblNoRecord" runat="server" Text="暂无记录!" Visible="false"></asp:Label>
                                                        </FooterTemplate>
                                                    </asp:Repeater>
                                                </div>
                                            </div>
                                            </div>
                    </div>
                    <UC:footer ID="footer" runat="server" />
                    <%-- <div class="footer">
                        <a href="mailTo:123@123.COM">联系我们</a>|
                       <a id="pp" target="_blank" runat="server">隐私声明</a>|
                      <a id="tc" target="_blank" runat="server">条款与条件</a>| 
                      <a id="help" target="_blank" runat="server">帮助</a>
                     </div>--%>
                    <!--cc-->
                    <span class="cbl"></span><span class="cbr"></span>
                    <asp:HiddenField ID="hf_PaperId" runat="server" />
                </div>
            </div>
            <span class="bl"></span>
            <div class="bc">
            </div>
            <span class="br"></span>
            <!--box-->
        </div>
        <!--main-->
    </div>
    </form>
</body>
</html>
